package cn.glc.daily.life.infrastructure.repository.mysql;

import cn.glc.daily.life.infrastructure.dao.UserInfoDao;
import cn.glc.daily.life.infrastructure.po.UserInfoPo;
import com.baomidou.mybatisplus.extension.service.IService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Repository;

/**
 * 用户基础信息
 *
 * @author simon
 * @date 2020/9/27 16:04
 * @copyright:
 * @modifier
 * @motto a no talent, people who have to study hard
 */
@Repository
public class UserInfoRepository extends ServiceImpl<UserInfoDao, UserInfoPo> implements IService<UserInfoPo> {

    public UserInfoPo findUserInfoByUid(Long uid) {
        return super.baseMapper.findUserInfoByUid(uid);
    }
}
